GameInputManager.WaitForElement Function

Returns the GameInputElementthe user pressed. Waits for an element to change on any input device.

Syntax

result = GameInputManager.WaitForElement( timeout )

Parameters

timeout

Single

Return Value

Result

GameInputElement

Notes

Timeout is in seconds.